package com.owc.common.sdk.request;

import com.owc.common.sdk.AbstractRequest;
import com.owc.common.sdk.response.RateResponse;

import java.util.Map;

/**
 * @Author xiaom
 * @Date 2019/11/13 15:19
 * @Version 1.0.0
 * @Description <>
 **/
public class ExchangeRequest extends AbstractRequest implements Request<RateResponse> {

    private static final String baseUrl = "https://www.goko.com";

    @Override
    protected void setUrlParamsMap(Map<String, Object> map) {

    }

    @Override
    public String getApiUrl() {
        return baseUrl + "/open/api/get_ticker";
    }

    @Override
    public Class<RateResponse> getResponseClass() {
        return RateResponse.class;
    }

    @Override
    public Object getUrlParams() {
        return null;
    }
}
